import { request } from 'umi';

// 获取文章的评论
export function getArticleComment(articleId: string, page=1){
  return request(`/api/comment/host/${articleId}`, {
    params: {
      page,
      pageSize: 6
    }
  });
}
